﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;

namespace iResume
{
    public class JobSeeker
    {
        private string fullName;
        private string emailAdd;
        private string password;
        private string rePassword;
        private string profile;
        private string education;
        private string skills;
        private string workexperience;
        private string address;
        private string contactno;
        private string nationality;
        private string gender;
        private string jobcategory;
        private DateTime DateofBirth;
        private string confirmationcode;
        private string location;
        private string contactemail;
        private string phone;
        private byte[] image;
        private string name;
        private string contentType;
        private byte[] data;

        private ArrayList jobSeekerlist;


     

        public JobSeeker()
        {
        }
        public ArrayList JobSeekerlist
        {
            get { return jobSeekerlist; }
            set { jobSeekerlist = value; }
        }
        public string Location
        {
            get { return location; }
            set { location = value; }
        }
        public string Contactemail
        {
            get { return contactemail; }
            set { contactemail = value; }
        }
        public string Phone
        {
            get { return phone; }
            set { phone = value; }
        }
        public string Confirmationcode
        {
            get { return confirmationcode; }
            set { confirmationcode = value; }
        }
        public string FullName
        {
            get { return fullName; }
            set { fullName = value; }

        }
        public string EmailAdd
        {
            get { return emailAdd; }
            set { emailAdd = value; }
        }
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        public string RePassword
        {
            get { return rePassword; }
            set { rePassword = value; }
        }
        public string Profile
        {
            get { return profile; }
            set { profile = value; }
        }
        public string Education
        {
            get { return education; }
            set { education = value; }
        }

        public string Skills
        {
            get { return skills; }
            set { skills = value; }
        }
        public string Workexperience
        {
            get { return workexperience; }
            set { workexperience = value; }
        }
        public string Address
        {
            get { return address; }
            set { address = value; }
        }
        public string ContactNo
        {
            get { return contactno; }
            set { contactno = value; }
        }
        public string Nationality
        {
            get { return nationality; }
            set { nationality = value; }
        }
        public string Gender
        {
            get { return gender; }
            set { gender = value; }
        }
        public string Jobcategory
        {
            get { return jobcategory; }
            set { jobcategory = value; }
        }
    
        public byte[] Image
        {
            get { return image;}
            set { image = value; }

        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string ContentType
        {
            get { return contentType; }
            set { contentType = value; }
        }
        public byte[] Data
        {
            get { return data; }
            set { data = value; }
        }

        //creating account
        public JobSeeker(string fullName, string emailAdd, string password, string rePassword, string category)
        {
            this.fullName = fullName;
            this.emailAdd = emailAdd;
            this.password = password;
            this.rePassword = rePassword;
            this.jobcategory = category;
            this.jobSeekerlist= new ArrayList();
        }
        //resume
        public JobSeeker( string category, string profile, string education, string skills, string workexperience,string emailAddr, byte[] image)
        {
         
            this.jobcategory = category;
            this.profile = profile;
            this.education = education;
            this.skills = skills;
            this.workexperience = workexperience;
            this.emailAdd = emailAddr;
            this.image = image;
            
            this.jobSeekerlist = new ArrayList();
        }

        //jobseeker update

        public JobSeeker(string category, string profile, string education, string skills, string workexperience, string emailAddr, string fullname, byte[] image, string name,byte[] data)
        {

            this.jobcategory = category;
            this.profile = profile;
            this.education = education;
            this.skills = skills;
            this.workexperience = workexperience;
            this.emailAdd = emailAddr;
            this.image = image;
            this.fullName = fullname;
            this.name = name;
            this.data = data;
           
            this.jobSeekerlist = new ArrayList();
        }

        public JobSeeker(string confirmationcode, string emailadd)
        {

            this.confirmationcode = confirmationcode;
            this.emailAdd = emailadd;
            this.jobSeekerlist = new ArrayList();
        }

        public JobSeeker(string location, string contactemail, string phone, string emailadd)
        {

            this.location = location;
            this.contactemail = contactemail;
            this.phone = phone;
            this.emailAdd = emailadd;
            this.jobSeekerlist = new ArrayList();
        }
    
    }
   
}